﻿using System;
using System.Web.Security;

namespace HelpersDotNet.Web.Security
{
    public class OpenIDMembershipUser : MembershipUser
    {
        public string OpenID { get; set; }

        public OpenIDMembershipUser(
         string providerName,
         string openId,
         string name,
         object providerUserKey,
         string email,
         string passwordQuestion,
         string comment,
         bool isApproved,
         bool isLockedOut,
         DateTime creationDate,
         DateTime lastLoginDate,
         DateTime lastActivityDate,
         DateTime lastPasswordChangedDate,
         DateTime lastLockoutDate)
            : base(
          providerName,
          name,
          providerUserKey,
          email,
          passwordQuestion,
          comment,
          isApproved,
          isLockedOut,
          creationDate,
          lastLoginDate,
          lastActivityDate,
          lastPasswordChangedDate,
          lastLockoutDate)
        {
            OpenID = openId;
        }
    }
}
